Skip to content

Conversation

@febo
Copy link
Collaborator

@febo febo commented Apr 2, 2025

Problem

Currently, pinocchio defines its own (zero-copy) AccountInfo struct. The name clash makes it confusing to write code that interacts with both AccountInfo types from the SDK and pinocchio.

Solution

Use the new AccountView type from Solana SDK instead. While this is a breaking change since the type has a different name, it has the same characteristics of the current AccountInfo type, so there is no loss of efficiency.

@febo febo added the breaking PR contains breaking changes label Apr 2, 2025
@febo febo force-pushed the febo/solana-account-view branch from 5ab65d7 to 46dd140 Compare April 2, 2025 18:30
@febo febo force-pushed the febo/solana-address branch 3 times, most recently from b026be9 to baa8beb Compare September 21, 2025 09:58
@febo febo force-pushed the febo/solana-account-view branch from 8aea106 to 97a11a6 Compare September 24, 2025 01:55
@febo febo force-pushed the febo/solana-account-view branch from 97a11a6 to 625eac9 Compare October 2, 2025 02:00
@febo febo force-pushed the febo/solana-address branch from 9d5e409 to 17d0edd Compare October 4, 2025 01:25
@febo febo force-pushed the febo/solana-account-view branch from 76f05f4 to d9f9c45 Compare October 4, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking PR contains breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants